package com.erb.mapper;

import com.erb.entity.integral;
import org.apache.ibatis.annotations.Param;

/**
 * ClassName: integralMapper
 * Description:
 * date: 2020/6/17 8:37
 *
 * @author JY
 */

public interface integralMapper {

	void addIntegral(integral integral);

	void addIntegralByUser(@Param("userId") Integer userId, @Param("integral") Integer integral);

	Integer integralQuery(@Param("userId") Integer userId, @Param("scoreCount") String scoreCount, @Param("today") String today);


}
